<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'The survey',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<section id="dreams">
	<h2>Dream journal</h2>
	<p>
		I couldn&apos;t make sense of my dream.
		I&apos;m not sure what was going on.
		In any case, at the end, I suddenly felt someone grab me by the arm pits and start shaking me.
		No one was around, so I figured I was dreaming and the sensation was coming from outside the dream.
		My waking-world body was under assault and that needed to be dealt with.
		I tried to wake up, but it took several seconds to escape the dream world.
		That was a first.
		Normally, if I know (or even suspect) I&apos;m dreaming, I&apos;m able to wake right away.
		Of course, when I did escape, no one was around to be shaking me.
		I sleep behind two locked doors, one of which, no one but me has the key to.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		As expected, someone wrote in saying the survey should in fact be distributed outside the school.
		However, they didn&apos;t even bother to fill out the survey themself.
		My response:
	</p>
	<blockquote>
		<p>
			I already got in trouble once for this <strong>*exact*</strong> sort of thing.
			I am <strong>*not*</strong> making that mistake again.
			As long as the survey stays at the school though, there shouldn&apos;t be another issue.
			Anyway, if you could fill out a copy of the survey, it&apos;d help me immensely.
		</p>
	</blockquote>
	<p>
		I said in my frustration yesterday that I&apos;d forge survey results if I had to.
		I&apos;m not going to actually do that though.
		I wouldn&apos;t be able to live with myself.
		Besides, I don&apos;t even have to.
		<del>I might get marked down for it, but I&apos;ll just write up an interpretation for my lack of results if it comes down to it.</del>
		My questions were kind of direct, and my topic is one about how people aren&apos;t doing the right thing and need to improve their actions.
		In retrospect, I should&apos;ve been less direct with my questions if I wanted to get them answered.
		<del>If no one responds, that&apos;s likely the cause.</del>
		People likely don&apos;t want to admit that they&apos;re acting in a less-than-ethical way.
		<ins>Actually, the person I was conversing with agreed to message me responses on Monday.
		Sweet!
		That&apos;s one data point of ten needed ones.
		Ironically, it was right after I finished writing some notes on what I&apos;d write in my evaluation, before knowing for sure no one would respond.
		It was all very unscientific, but it helped me relieve stress and I could amend before actually handing it in, if someone actually did respond.
		I still make some valid points in my notes that&apos;ll likely make their way into my evaluation, especially if I don&apos;t get at least ten responses.</ins>
	</p>
	<blockquote>
		<p>
			Thank you very much for your help!
		</p>
	</blockquote>
	<p>
		And ... then the professor wrote in, telling me to distribute the survey using out-of-school channels.
		Other advice was given as well, but the other advice was (as far as I know) good advice.
		My response:
	</p>
	<blockquote>
		<p>
			Alright, I&apos;ll modify the survey to use specific, multiple-choice answers so it&apos;s not open-ended.
			As for distribution of the survey outside of school, the school threatened me against doing just that.
			They didn&apos;t just ask me not to.
			They threatened me.
			Distribution outside of school is therefore obviously <strong>*not*</strong> an option.
			I can&apos;t risk the issue with the school escalating, which is why I&apos;m trying to get help from fellow students/professors.
			I&apos;ll write to you about how to provide anonymity though, that would help avoid tainted answers.
			Actually ... how do I email you again?
			Like many professors that have asked me to email them, your email address isn&apos;t listed on your university profile.
		</p>
	</blockquote>
	<p>
		Before seeing the professor&apos;s reply, I also submitted the survey to a help group on the university&apos;s own private social subnetwork.
		Honestly, I&apos;m trying to make this work within the boundaries of the allowable.
		I want this to succeed.
		I feel in my gut that it&apos;ll crash and burn terribly (just watch), but I <strong>*want*</strong> it to go exceedingly well.
	</p>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			I hadn&apos;t considered that, but you&apos;re right, it does let us look at the situation from another perspective: that of a sports journalist.
			Honestly, I don&apos;t think I&apos;ve ever tried to look at anything from the perspective of a sports journalist, let alone tried to look at a national tragedy from the perspective of one.
			The two articles are both by sports journalist though, allowing us to look at the situation through the eyes of two different journalists (or kind of three, as one article was written by two people).
			It shows that even in a given field, different people will have very different perspectives to share.
		</p>
		<p>
			That attack had such a profound and noxious effect on our laws and policies here in the United States.
			It continues to degrade the quality of life of us all.
			The world is a horrid place, and I guess the attack woke a lot of people up to that.
			None of us can really ever guarantee our own safety or the safety of others.
		</p>
		<p>
			I also agree that storytelling makes up a part of who we are.
			It&apos;s one of several reasons I keep a public, daily journal.
			In addition to helping me work through my issues, the telling of my story becomes a part of who I am.
		</p>
	</blockquote>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<img src="/y.st./source/y.st./static/img/CC_BY-SA_3.0/minetest.net./weblog/2018/03/03.png" alt="My flooded floor" class="framed-centred-image" width="800" height="600"/>
	<p>
		I&apos;d forgotten a lot of the effort I&apos;d put into making Minestats function the way it does.
		It was interesting to go back through the $a[API] and see all the little details, as I was removing the word &quot;mineral&quot; from the language in the code and comments.
	</p>
	<p>
		I think the bed code is more complicated than I&apos;d initially anticipated.
		I&apos;d hoped to use the bed-registration function provided by the <code>beds</code> mod, then override some of the callbacks on the bed nodes I registered, but I think I&apos;m going to need to outright copy the code, clean it up to make more sense for single-use purposes, then modify the resulting code to do what I need.
	</p>
	<p>
		I&apos;ve decided against trying to build all nine cities at once.
		The next version of Minetest Game promised to have big changes in mapgen.
		Well, maybe not <strong>*big*</strong> changes, but new nodes will be available.
		Just by playing the game now and generating parts of the map, I&apos;m eliminating certain nodes that could otherwise be acquired, such as the new fireflies, which as best I can tell, will <strong>*not*</strong> regenerate.
		It&apos;s worth it to get to play now, but I shouldn&apos;t over-generate the map, not artificially like this.
		For that matter, once the new version comes out, there&apos;ll always (at least, I <strong>*hope*</strong> always) be a version after that.
		Even when the new version releases, I shouldn&apos;t suddenly jump to building all the towns.
		I should grow out the map specifically as the tunnel network grows.
		As a side not, that also means that themed towns might not work out.
		I&apos;ll almost definitely have the themed towers, but the towns around them will probably be more mixed than initially planned.
	</p>
	<p>
		Originally, I built a small section of the floor at the bottom of the tunnel to avoid the holes in the ground below, then surrounded the new floor with leaves to block the floodwaters from above.
		That way, the floor wouldn&apos;t start growing moss.
		As I cleared away stone today though, the flood waters got wider, washing all over my precious floor.
		Oh, well.
		I&apos;ve now removed the leaves and finished building that layer of floor.
		The second layer will cover it up anyway, with that bottom layer being the outer layer.
		I won&apos;t be able to protect the outer layer from other players&apos; water, so I guess it doesn&apos;t matter if I let it get mossy now, ahead of time.
	</p>
	<p>
		As a side note, everyone tells me that cave mining is the fastest way to rake in the ores.
		It&apos;s so not true though.
		I bore through solid rock at an incredible pace, sweeping up every mineral in my path, in addition to huge amounts of cobble.
		Sure, the cobble load&apos;s a bit of a pain.
		But back when it was still possible to look inside the locked chests of other players, those same players that told me my way was less effective were amazed by how wealthy I was.
		Lexi may not know how to build beautiful structured, but when it comes to mining, they know what they&apos;re doing!
		Besides, the tunnel I bore serves multiple purposes.
		The initial version of the tunnel was actually a desert stone <strong>*bridge*</strong>.
		As in, <strong>*above*</strong> ground.
		It was close to the water&apos;s surface and bored through mountains that stood in the way, but most of it simply crossed the watery expanse of the sea.
		I mined half a desert away for its precious crimson rock before I realised I was going about things the wrong way.
		My bridged consumed resources.
		A tunnel would instead produce all the materials it needed during its own construction and then some, for a net gain.
		At this point, the tunnel is a mining operation.
		Mining is the goal, and the huge hole bored can be walled in to provide a level, public road.
		Level roads on the surface are rare, but underground, they&apos;re easily created.
		I guess underground roads are still slower to produce than surface roads, especially considering the width and height of my tunnel, but again, the road at this point is the side benefit.
		Mining is the goal.
		It&apos;s not even about the materials gained any more, it&apos;s the mining itself, as measured by <code>minestats</code>.
	</p>
	<p>
		I guess I should start thinking about what I want to do about a home, since I won&apos;t be moving out to Pride City just yet.
		I&apos;ll probably build a large house, mostly for practice, and call it Pinewood Mansion.
		That doesn&apos;t seem too complicated, until you take into account the rigid grid of the map blocks used by the protection nodes, the odd water level compared to that grid, the high amount of sea in the area, and the lack of flat land.
		This ... is a water town.
		There&apos;s no two ways about that.
		Maybe Pinewood Mansion should float.
		On logs.
	</p>
	<p>
		Hmm.
		I&apos;m avoiding expanding as much as I&apos;d like to because of scarcity of nodes and other items.
		Maybe what I <strong>*really*</strong> need to do is finally find a way to address the issue of scarcity in a clean way.
		I want a shop node, that lets you buy from and sell to the server.
		Items there are unlimited in quantity.
		However, I need a dynamic way to properly price the items based on demand for them.
		Nothing should be hard-coded, including which items are for sale.
		Nothing should be for sale at first, but when you sell an item to the server, the server should learn that that particular item is obtainable and start selling it.
		Of course, I&apos;d like to have <code>minestats</code> have some effect on the mod as well.
	</p>
</section>
END
);
